<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <link href="style/wp.css" rel="stylesheet" type="text/css" />
    </head>

<body>
    <div id="header"> <div class="wrapper">
        <h1>Feli Online Judge</h1>
        <ul>
            <li><a  href="index">Home</a></li>
            <li><a  href="contest_list">Contests</a></li>
            <li>

                <a  href="logout.do">Logout</a>            </li>
            <li><a  href="register">Register</a></li>
            <li><a  href="faq">FAQ</a></li>
        </ul>
    </div></div>
<title>Profile</title>
    <div id="headline">

        <div class="wrapper">
            <h2>Profile</h2>
        </div>
    </div>    


<div id="pagebody">
	<div class="wrapper">
    <form action="register.do" method="post" onsubmit="encode()">
    <table class="center" id="register"><tbody>
        <tr>

            <td><strong>User ID:&nbsp;</strong></td>
            <td><input class="text" name="user_id" type="text" value="" size="20" /></td>
        </tr>
        <tr>
            <td><strong>Password:&nbsp;</strong></td>
            <td><input class="text" size="20" type="password" id="ps1" name="password" /></td>
        </tr>
        <tr>

            <td><strong>Retype:&nbsp;</strong></td>
            <td><input class="text" size="20" type="password" id="ps2" name="repeatpassword" /></td>
        </tr>
        <tr>
            <td><strong>Nick Name:&nbsp;</strong></td>
            <td><input class="text" size="20" type="text" name="nick" /></td>
        </tr>
        <tr>

            <td><strong>Email:&nbsp;</strong></td>
            <td><input class="text" size="20" type="text" name="email" /></td>
        </tr>
        <tr>
            <td><strong>School:&nbsp;</strong></td>
            <td><input class="text" size="20" type="text" name="school" /></td>
        </tr>
        <tr>

            <td colspan=2>
                <input class="button-secondary" type="submit" value="Submit" name="submit" />&nbsp;
                <input class="button-secondary" type="reset" value="Reset" name="reset" />
            </td>
        </tr>
    </tbody></table>
    </form>
    <br /><br />
    </div>

</div>
<script src="common/md5.js"></script>
<script language="javascript">
function encode() {
    var ps1 = document.getElementById('ps1');
    ps1.value = MD5(ps1.value);
    var ps2 = document.getElementById('ps2');
    ps2.value = MD5(ps2.value);
	return true;
}
</script>

        <div id="footer">
            <div class="wrapper">
                <p>
                    Feli Online Judge System Version 0.1 Copyright &copy; 2008 Felicia @ Wuhan Univ. All rights reserved.
                </p>

                <p>
                    Please contact me if you have any suggestion or problem.
                </p>
            </div>
        </div>
    </body>
</html>



